package com.shfl.servermanage.logic.mapper;

import com.shfl.servermanage.logic.bean.SysServerShell;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;
import java.util.Map;

@Repository
public interface SysServerShellMapper {
    int deleteByPrimaryKey(Long id);

    int insert(SysServerShell record);

    int insertSelective(SysServerShell record);

    SysServerShell selectByPrimaryKey(Long id);

    SysServerShell selectByPrimaryKeyWithLogicalDelete(@Param("id") Long id, @Param("andLogicalDeleted") boolean andLogicalDeleted);

    int updateByPrimaryKeySelective(SysServerShell record);

    int updateByPrimaryKey(SysServerShell record);

    int batchInsert(@Param("list") java.util.List<SysServerShell> list);

    int batchInsertSelective(@Param("list") java.util.List<SysServerShell> list, @Param("selective") SysServerShell.Column... selective);

    int logicalDeleteByPrimaryKey(Long id);

    List<SysServerShell> findListByMap(Map<String, Object> objectMap);
}